IF (NOT TRAVIS_DISABLE_LIBSHOGUN_TESTS AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/undocumented/libshogun)
	add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/undocumented/libshogun)
ENDIF()

IF (INTERFACE_PYTHON AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/undocumented/python)
	add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/undocumented/python)
ENDIF()

IF(BUILD_META_EXAMPLES)
    # meta dir was added in root CMakeLists
    add_custom_target(examples DEPENDS meta_examples)
ELSE()
    add_custom_target(examples)
ENDIF()

CREATE_DATA_SYMLINK(${CMAKE_SOURCE_DIR}/data/toy ${CMAKE_CURRENT_BINARY_DIR}/undocumented/data)
